﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Vit.Web.Models
{
    public class Track
    {
        [Key]
        [StringLength(256)]
        [Column(Order = 1)]
        [Required]
        public string ObjectType { get; set; }

        [Key]
        [StringLength(256)]
        [Column(Order = 2)]
        [Required]
        public string ObjectId { get; set; }

        public long Visits { get; set; }
        public long Hits { get; set; }
        public long Favorates { get; set; }
        public long Marks { get; set; }
    }
}
